package com.liveinstars.im.task;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.onepiece.im","com.onepiece.xxl", "com.onepiece.api",   "com.onepiece.cache"})
@MapperScan("com.onepiece.im.**.mapper")
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.onepiece.api")
public class IMTaskApplication {

	public static void main(String[] args) {
        SpringApplication.run(IMTaskApplication.class, args);
	}

}